/config/app/health/monitor//httpOptions/request/headers¶
The nodes below this one perform the functions described in this function overview.
Configure additional HTTP headers to include in the HTTP request.
Use
Use to specify one or more headers to include in the HTTP request. Specify in the format:
header type: header_name=value
You might use this to tell the web server that the request is coming from a health monitor or to ensure the server will respond to the request.
Parameters¶
name: Name of health monitor
Data Type¶
subtree
Request Methods¶
GET
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/request/headers
GET Response
{"/config/app/health/monitor/hm-01/httpOptions/request/headers": {"data": None,
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "subtree"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/headers"}
GET (list children)
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/request/headers?op=list
GET Response
{"/config/app/health/monitor/hm-01/httpOptions/request/headers": {"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "subtree"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/config/app/health/monitor/hm-01/httpOptions/request/headers"}
GET (recursively list children)
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/request/headers?level=recurse
- /config/app/health/monitor/
/httpOptions/request/headers 1. Parameters 2. Data Type 3. Request Methods 4. Related 5. Examples